﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;

namespace Enterprise.Management.Gridview
{
    public class GridviewHeaderCell : GridviewCell
    {
        public bool AllowSort
        {
            get
            {
                return !string.IsNullOrEmpty(SortField);
            }
        }
        public string SortField { get; set; }
        public bool? Ascending { get; set; }
        public string CellField { get; set; }

        public GridviewDataTemplate RowDataTemplate { get; set; }
        public GridviewDataFormatter RowFormatter { get; set; }
        public string RowValue { get; set; }
    }
}